Automatic Update for Single Device
This simple example describes how to configure the Automatic Update feature for updating a single device. In this example, the device queries the provisioning server for software, configuration and Auxiliary files every 24 hours.
|
➢
|
To set up Automatic Provisioning for single device (example): |
|
1.
|
Set up an HTTP Web server (e.g., http://www.company.com) and place all the required configuration files on this server. |
|
2.
|
Configure the device with the IP address of the DNS server for resolving the domain name (e.g., http://www.company.com) that is used in the URL of the provisioning server. |
|
3.
|
Configure the device with the following Automatic Update settings: |
|
a.
|
Automatic Update is done every 24 hours (86,400 seconds): |
AutoUpdateFreqencySeconds = 86400
# configure system
(config-system)# automatic-update
(auto-update)# update-frequency-sec 86400
|
a.
|
Automatic Update of software file (.cmp): |
AutoCmpFileUrl = 'https://www.company.com/sw.cmp'
# configure system
(config-system)# automatic-update
(auto-update)# auto-firmware 'http://www.company.com/sw.cmp'
|
a.
|
Automatic Update of Call Progress Tone file: |
CptFileURL = 'https://www.company.com/call_progress.dat'
# configure system
(config-system)# automatic-update
(auto-update)# call-progress-tones 'http://www.company.com/call_progress.dat'
|
a.
|
Automatic Update of ini configuration file:
|
|
b.
|
Enable Cyclical Redundancy Check (CRC) on downloaded ini file: |
AUPDCheckIfIniChanged = 1
# configure system
(config-system)# automatic-update
(auto-update)# crc-check regular
|
a.
|
Configure the source interface (VRF table or IP network): |
AUPDInterface= vrf-sec
# configure system
(config-system)# automatic-update
(auto-update)# network-source vrf-sec
|
4.
|
Power down and then power up the device. |